const KoaRouter = require('@koa/router')
const { verifyAuthorization } = require('../middleware/login.middleware')
const detailController = require('../controller/detail.controller')

const detailRouter = new KoaRouter({prefix: '/detail'})

detailRouter.get('/', verifyAuthorization, detailController.getDetail)


module.exports = detailRouter